import Vue from "vue";

export const state = Vue.observable({
  count: 0,
  name: "李四",
});

export const mutations = {
  setCount(count) {
    state.count = count;
  },
  changeName(name) {
    state.name = name;
  },
};

export default {
  state,
  mutations,
};
